package com.lankystar.logistucs.spring.service;

import java.util.List;

import com.lankystar.logistucs.spring.entity.User;
import com.lankystar.logistucs.spring.entity.UserType;

public interface UserService {

	User selectUserById(Integer userId);
	
	void addUser(User record);
	
	User login(String userPhone,String userPassword);
	
	void updateUser(User record);
	
	List<User> queryUserlist(UserType userType);
	
	void deleteUser(Integer ismove,Integer isusual,Integer userId);
	
	/**
	 * 查找可用的司机,不区分哪家的
	 * @param userId
	 * @return
	 */
	List<User> queryCanUserlist();
}
